//
//  NSString+StringHight.h
//  Koina
//
//  Created by welldone on 14-5-7.
//  Copyright (c) 2014年 net.koina. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (StringHight)

//计算文本的size
-(CGSize)boundingRectWithSize:(CGSize)size
                 withTextFont:(UIFont *)font
              withLineSpacing:(CGFloat)lineSpacing;

//sting转AttributedString
-(NSMutableAttributedString *)attributedStringFromStingWithFont:(UIFont *)font  withLineSpacing:(CGFloat)lineSpacing;


@end
